package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.po.Clazz;
import com.itheima.domain.vo.PageResult;

import java.time.LocalDate;

public interface ClazzService extends IService<Clazz> {


    PageResult list(String name, LocalDate begin, LocalDate end, int page, int pageSize);

    void saveClazz(Clazz clazz);

    void updateClazzById(Clazz clazz);
}
